<?php
/**
 * Created by PhpStorm.
 * User: hao
 * Date: 2018/10/29
 * Time: 3:07 PM
 */

return [
    'app_id' => 'wxe89b9d4eba86608c',
    'app_secret' => 'f593078dd541eca79ee6c314b36ef822',
    // 微信使用code换取用户openid及session_key的url地址
    'login_url' => "https://api.weixin.qq.com/sns/jscode2session?" .
        "appid=%s&secret=%s&js_code=%s&grant_type=authorization_code",

    // 微信获取access_token的url地址
    'access_token_url' => "https://api.weixin.qq.com/cgi-bin/token?" .
        "grant_type=client_credential&appid=%s&secret=%s",
];